<template>
	<view class="content">
		<ajr-search @getSearchText="getSearchText" :hotList="hotList" :isShowHistory="true" :isShowHot="true"></ajr-search>
	</view>
</template>

<script>
	import ajrsearch from '@/components/ajr-search'
	export default{
		data(){
			return {
				searchKey:'',
				hotList:['铅笔','橡皮']
			}
		},
		components:{
			ajrsearch
		},
		methods:{
			getSearchText(e){
				console.log(e)
			}
		}
	}
</script>

<style lang="scss" scoped>
	
</style>